package com.yaoxuguang.concurrence.wait_notify.join.join_sleep_different;

/**
 * @author yaoxuguang
 * @Title: yao-interview
 * @Package com.yaoxuguang.concurrence.wait_notify.join.join_sleep_different
 * @Description: sleep不释放锁
 * @date 2018年12月24日14:08
 */
public class SleepThreadC extends Thread{
    private SleepThreadB sleepThreadB;

    public SleepThreadC(SleepThreadB sleepThreadB) {
        this.sleepThreadB = sleepThreadB;
    }

    @Override
    public void run() {
        sleepThreadB.bServer();
    }
}
